import request from '@/utils/request'

// 查询平台算法调用记录列表
export function listPlatformArithmeticInvokeRecord(query) {
  return request({
    url: '/genius/platform-arithmetic-invok-record/list',
    method: 'get',
    params: query
  })
}

// 查询平台算法调用记录详细
export function getPlatformArithmeticInvokeRecord(id) {
  return request({
    url: '/genius/platform-arithmetic-invok-record/' + id,
    method: 'get'
  })
}

// 新增平台算法调用记录
export function addPlatformArithmeticInvokeRecord(data) {
  return request({
    url: '/genius/platform-arithmetic-invok-record',
    method: 'post',
    data: data
  })
}

// 修改平台算法调用记录
export function updatePlatformArithmeticInvokeRecord(data) {
  return request({
    url: '/genius/platform-arithmetic-invok-record',
    method: 'put',
    data: data
  })
}

// 删除平台算法调用记录
export function delPlatformArithmeticInvokeRecord(id) {
  return request({
    url: '/genius/platform-arithmetic-invok-record/' + id,
    method: 'delete'
  })
}

// 逻辑删除平台算法调用记录
export function removedPlatformArithmeticInvokeRecord(id) {
  return request({
    url: '/genius/platform-arithmetic-invok-record/' + id,
    method: 'delete'
  })
}
